from shapely import affinity
from shapely import geometry


class GeomOperator(object):

    def translate(self, geom, xoff=0.0, yoff=0.0, zoff=0.0):
        affinity.translate(geom, xoff, yoff, zoff)
